<script setup lang="ts">
import { Textarea, type TextAreaProps } from 'ant-design-vue';
withDefaults(defineProps<{ placeholder?: string; autoSize?: TextAreaProps['autoSize'] }>(), {
  placeholder: '请输入',
  autoSize: { minRows: 2 },
});
</script>
<template>
  <Textarea :placeholder="placeholder" :auto-size="autoSize"></Textarea>
</template>
<style module lang="scss"></style>
